package com.yaorange.service;

import com.github.pagehelper.PageInfo;
import com.yaorange.entity.Article;

import java.util.List;

/**
 * @description:
 * @company: yaorange
 * @author: 啊啊啊林
 * @version: 1.0
 * @create: 2021-09-23 10:53:39
 */
public interface ArticleService {


    List<Article> findAll();

    PageInfo<Article> findAllByPage(Integer pageNum,Integer pageSize);

    PageInfo<Article> selectByConditonArticle(String goodsName, Integer typeId);

    int deleteByArticleId(Integer articleId);

    Article selectWindowData(Integer articleId);


//修改article属性
    int updateArticle(Article article);

    int deleteMany(Integer[] str);

    int insertNewArticle(Article article);
}
